const express = require("express");
const Routers = express.Router();

const userRouter = require('./api/usersRouter');
const resourcesRouter = require('./api/resourcesRouter');
const productRouter = require('./api/productRouter');
const shoppingCartRouter = require('./api/shoppingCartRouter');
const orderRouter = require('./api/orderRouter');
const collectRouter = require('./api/collectRouter');

Routers.use("/users",userRouter);
Routers.use("/resources",resourcesRouter);
Routers.use("/product",productRouter);
Routers.use("/user/shoppingCart",shoppingCartRouter);
Routers.use("/user",orderRouter);
Routers.use("/user",collectRouter);

module.exports = Routers;